package cn.endowment.userserviceapi.server;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

import cn.endowment.clientserviceapi.IClientUserService;
import cn.endowment.dao.IUserDao;

/**
 * client用户管理实现类
 * @author Administrator
 *
 */
public class UserServierImpl implements IClientUserService{
	/**
	 * 用户接口
	 */
	@Autowired
    private IUserDao ud;
	/**
	 * 添加用户
	 */
	@Override
	@Transactional
	public int addUser(Map map) {
		int result=ud.addUser(map);
		int a = 10/1;
		return result;
	}
	
}
